/* __auth__ : KunLin */

package com.cskaoyan.bean.vo.brand;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor
@Data
public class WXBrandListVO {

    private Integer errno;
    private DataDTO data;
    private String errmsg;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        private Long total;
        private Integer pages;
        private Integer limit;
        private Integer page;
        private List<ListDTO> list;

        @NoArgsConstructor
        @Data
        public static class ListDTO {
            private Integer id;
            private String name;
            private String desc;
            private String picUrl;
            private BigDecimal floorPrice;
        }
    }

    public WXBrandListVO success(){
        this.setErrmsg("成功");
        this.setErrno(0);
        return this;
    }
}
